<?php 
$colname_pp = "-1";
if (isset($_GET['sa'])) {
  $colname_pp = $_GET['sa'];
}
mysql_select_db($database_konek, $konek);
$query_pp = sprintf("SELECT * FROM galleryplug WHERE id = %s", GetSQLValueString($colname_pp, "int"));
$pp = mysql_query($query_pp, $konek) or die(mysql_error());
$row_pp = mysql_fetch_assoc($pp);
$totalRows_pp = mysql_num_rows($pp);

$jmlp=$_GET['sc']+1;
$judul=$row_pp['judul']." Page ".$jmlp;
$deskrip=$row_pp['judul']." Page ".$jmlp;
mysql_free_result($pp);
?>